.class public Lcom/xingbook/park/view/e;
.super Landroid/view/animation/Animation;


# instance fields
.field public a:I

.field final synthetic b:Lcom/xingbook/park/view/d;

.field private c:I

.field private d:I


# direct methods
.method public constructor <init>(Lcom/xingbook/park/view/d;)V
    .locals 1

    iput-object p1, p0, Lcom/xingbook/park/view/e;->b:Lcom/xingbook/park/view/d;

    invoke-direct {p0}, Landroid/view/animation/Animation;-><init>()V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/park/view/e;->c:I

    invoke-static {p1}, Lcom/xingbook/park/view/d;->a(Lcom/xingbook/park/view/d;)I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/view/e;->d:I

    new-instance v0, Landroid/view/animation/AccelerateDecelerateInterpolator;

    invoke-direct {v0}, Landroid/view/animation/AccelerateDecelerateInterpolator;-><init>()V

    invoke-virtual {p0, v0}, Lcom/xingbook/park/view/e;->setInterpolator(Landroid/view/animation/Interpolator;)V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 2

    const/16 v0, 0x64

    if-gez p1, :cond_1

    const/4 v1, 0x0

    :goto_0
    if-le v1, v0, :cond_0

    :goto_1
    iget v1, p0, Lcom/xingbook/park/view/e;->d:I

    iput v1, p0, Lcom/xingbook/park/view/e;->c:I

    iput v0, p0, Lcom/xingbook/park/view/e;->d:I

    return-void

    :cond_0
    move v0, v1

    goto :goto_1

    :cond_1
    move v1, p1

    goto :goto_0
.end method

.method protected applyTransformation(FLandroid/view/animation/Transformation;)V
    .locals 3

    invoke-super {p0, p1, p2}, Landroid/view/animation/Animation;->applyTransformation(FLandroid/view/animation/Transformation;)V

    iget v0, p0, Lcom/xingbook/park/view/e;->c:I

    int-to-float v0, v0

    iget v1, p0, Lcom/xingbook/park/view/e;->d:I

    iget v2, p0, Lcom/xingbook/park/view/e;->c:I

    sub-int/2addr v1, v2

    int-to-float v1, v1

    mul-float/2addr v1, p1

    add-float/2addr v0, v1

    float-to-int v0, v0

    iget-object v1, p0, Lcom/xingbook/park/view/e;->b:Lcom/xingbook/park/view/d;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/view/d;->setPercent(I)V

    return-void
.end method
